package com.xyht.medicine_management_system.modules.shoppingCart.service;

import com.xyht.medicine_management_system.common.commonReturn.ResponseResult;
import com.xyht.medicine_management_system.modules.shoppingCart.entity.MmsShoppingCart;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.medicine_management_system.modules.shoppingCart.entity.req.MmsShoppingCartReq;

/**
 * <p>
 * 活动表 服务类
 * </p>
 *
 * @author XYHT
 * @since 2023-12-05
 */
public interface MmsShoppingCartService extends IService<MmsShoppingCart> {

    ResponseResult addShoppingCart(MmsShoppingCartReq shoppingCartReq, String userId);

    ResponseResult updateShoppingCart(MmsShoppingCartReq shoppingCartReq, String userId);

    ResponseResult listShoppingCart(Integer pageNum, Integer pageSize, String searchStr, String userId);

}
